import ObservableObject from "../observer/observable.object"
import funcUtil from "../utils/func.util"
export default class MeshTrim extends ObservableObject {
  position: any
  scale: any
  rotation: any
  enabled: any
  floorIndex: any
  created: Date
  modified: Date
  id: any
  index: any
  name: any
  nameIndex: any
  constructor(e, t, s, i, r, n, o = new Date(), a = new Date(), d, m, h) {
    super(),
      (this.position = e),
      (this.scale = t),
      (this.rotation = s),
      (this.enabled = r),
      (this.floorIndex = n),
      (this.created = o),
      (this.modified = a),
      (this.id = d || `${this.floorIndex}` + funcUtil.randomStr(11)),
      (this.index = i),
      (this.name = m),
      (this.nameIndex = void 0 === h ? -1 : h)
  }
  get sid() {
    return this.id
  }
}
